<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>$Title$</title>
  <link rel="stylesheet" href="/webjars/element-ui/2.15.13/lib/theme-chalk/index.css">
  <script src="/webjars/vue/2.6.14/dist/vue.js"></script>
  <script src="/webjars/element-ui/2.15.13/lib/index.js"></script>
  <script src="/webjars/axios/1.6.2/dist/axios.js"></script>
</head>
<body>
111
<div id="ord">
  <template>
    <div class="you">
      <el-form inline>
        <el-form-item>
          <el-button type="primary" @click="search">提交审核</el-button>
        </el-form-item>
      </el-form>
    </div>
    <el-col :span="50">
      <div style="padding: 6px">
        <el-card shadow="hover">
          <el-table :data="ordList.data" style="width: 100%;margin-bottom: 20px;" @selection-change="changeSelection">
            <el-table-column type="selection" width="50">

            </el-table-column>
            <el-table-column prop="auditId" label="审核ID" sortable width="100">
            </el-table-column>
            <el-table-column prop="saleNumber" label="订单单号" sortable width="170">
            </el-table-column>
            <el-table-column prop="customername" label="客户名称" width="120" >
            </el-table-column>
            <el-table-column prop="saleName" label="销售名称" width="120">
            </el-table-column>
            <el-table-column prop="orderDate" label="订单日期"  width="120">
            </el-table-column>
            <el-table-column prop="deliveryDate" label="交货日期" width="120">
            </el-table-column>
            <el-table-column prop="ordernum" label="数量"  width="120">
            </el-table-column>
            <el-table-column prop="orderPrice" label="单价"  width="120">
            </el-table-column>
            <el-table-column prop="salesReturnCause" label="总金额"  width="120">
            </el-table-column>
            <el-table-column prop="auditDate" label="审核日期"  width="120">
            </el-table-column>
            <el-table-column prop="auditResult" label="审核结果"  width="120">
            </el-table-column>
            <el-table-column label="操作" width="150">
              <template slot-scope="scope">
                <el-button @click="openOrd(scope.row)"
                           size="small"
                           type="primary" round
                           icon="el-icon-search"
                >通过 </el-button>
              </template>
            </el-table-column>
          </el-table>
        </el-card>
      </div>
    </el-col>
  </template>

  <!--内容-->
</div>


</div>
</body>
</html>